<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class StoreHouse extends Model
{

    protected $table = 'storehouse';

    protected $guarded = [];

    public function belongsToManyBatch(){
        return $this->belongsToMany('App\PartsBatch','PartsInventory','storehouse_id','partsbatch_id');
    }
}
